package com.itheima.loop;
//课后练习题1
public class Demo1 {
    public static void main(String[] args) {
        //输出100以内被6整除的数字**

        int a = 0;
        for (int i = 1; i <=100 ; i++) {
            if(i % 6 == 0){
                a = i;
                System.out.println(a);
            }

        }

    }
}
